package com.ntes.consumer3;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * Created by bjliuyue1 on 2017/5/19.
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication //scanBasePackages指定要扫描的包
@EnableHystrix //或者@EnableCircuitBreaker
public class Comsumer3Application {

    public static void main(String[] args) {
        SpringApplication.run(Comsumer3Application.class, args);
    }

}
